/*
 * @Author: 杨超
 * @Date: 2021-08-03 13:54:00
 * @LastEditTime: 2021-09-28 13:47:40
 * @LastEditors: 杨超
 * @Description:
 */
import { MaintenanceProjectApi } from '@/api'
import CommonModel from './common'

class MaintenanceProjectModel extends CommonModel {
    constructor() {
        super()
        this.api = new MaintenanceProjectApi()
    }

    // 获取设施列表
    getFacilityList(data) {
        return this.api.getFacilityList(data)
    }

    // 获取可用的计划信息（所属年月）
    getEnablePlan(data) {
        return this.api.getEnablePlan(data)
    }

    // 获取当前月度下的项目二级列表
    getRelatedProject(data) {
        return this.api.getRelatedProject(data)
    }

    // 养护工程上报到HDS
    report(data) {
        return this.api.report(data)
    }
    // 养护工程-完工核实
    verify(data) {
        return this.api.verify(data)
    }
}

export default MaintenanceProjectModel
